﻿require.config({
    paths: {
        angular: '../bower_components/angular/angular'
    },
    shim: {
        'angular': {
            exports:'angular'
        }
    },
    urlArgs: "v=" + new Date().getTime(),
    //,
   deps: ['app']
});

require(['app'], function () {
    console.log("main.js-start");

    require(['serv', 'ctrl', 'ctrl.todo'], function () {
        console.log("main.js-bootstrapapp");

        angular.bootstrap(document, ['app']);
    });
});